package dao;

import pojo.Book;
import utils.Page;
import vo.BookVO;

import java.sql.SQLException;
import java.util.List;

public interface BookDao {

    //查询所有书籍
    void getBooList(BookVO book, Page page) throws SQLException;

    //查数量
    Integer getBooksCount(BookVO book) throws SQLException;

    //action
    Integer modifyBook(Book book,String action)throws SQLException;

/*
    Integer getBooksCount(int sort_id,String bookName);
    Integer getBooksCount(BookVO bookVO);*/
}
